/* components/store-picker/store-picker.wxss */
// @import "/path/to/tdesign-miniprogram/miniprogram.css";

.header {
  background: linear-gradient(135deg, #0052D9 0%, #1a73e8 100%);
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}

.header-title {
  font-size: 18px;
  font-weight: 600;
}

.header-desc {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 6px;
}

.search-bar {
  padding: 16px;
  background: #f5f7fa;
  border-bottom: 1px solid #e0e5eb;
}

.map-container {
  height: 280px;
  position: relative;
  background: #e6f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #0052D9;
  font-weight: 500;
}

.map-placeholder {
  text-align: center;
  padding: 20px;
}

.map-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  background: #0052D9;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.map-marker:nth-child(1) {
  top: 40%;
  left: 45%;
}

.map-marker:nth-child(2) {
  top: 35%;
  left: 55%;
}

.map-marker:nth-child(3) {
  top: 50%;
  left: 60%;
}

.map-marker:nth-child(4) {
  top: 55%;
  left: 40%;
}

.map-marker:nth-child(5) {
  top: 60%;
  left: 50%;
}

.current-location {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: white;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  color: #0052D9;
}

.store-list {
  max-height: 350px;
  overflow-y: auto;
  padding: 0 16px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 12px;
  color: #1d2129;
  display: flex;
  align-items: center;
}

.section-title span {
  background: #e6f2ff;
  color: #0052D9;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
}

.store-card {
  padding: 16px 0;
  border-bottom: 1px solid #f0f2f7;
  transition: all 0.2s ease;
}

.store-card:last-child {
  border-bottom: none;
}

.store-card.active {
  background: #f6fbff;
  border-radius: 12px;
  padding: 16px;
  margin: 0 -16px;
  border-bottom: none;
  position: relative;
}

.store-card.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #0052D9;
  border-radius: 4px 0 0 4px;
}

.store-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.store-name {
  font-size: 16px;
  font-weight: 600;
  color: #1d2129;
}

.distance {
  color: #0052d9;
  font-size: 14px;
  font-weight: 500;
}

.store-address {
  color: #666;
  font-size: 14px;
  margin-bottom: 6px;
}

.store-hours {
  font-size: 13px;
}

.open {
  color: #52c41a;
}

.closed {
  color: #ff4d4f;
}

.select-btn {
  padding: 20px 16px;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.selected-store {
  background: #f6fbff;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  border: 1px solid #e6f2ff;
}

.selected-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.selected-title {
  font-size: 15px;
  font-weight: 500;
  color: #0052D9;
}

.change-btn {
  color: #0052D9;
  font-size: 14px;
  background: none;
  border: none;
  text-decoration: underline;
}

/* TDesign组件样式调整 */
.t-input {
  background: white;
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  width: 100%;
}

.t-button {
  background: #0052d9;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  transition: all 0.2s ease;
}

.t-button:active {
  background: #003eb3;
  transform: scale(0.98);
}

.t-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.filter-bar {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  overflow-x: auto;
}

.filter-item {
  padding: 8px 16px;
  background: #f5f7fa;
  border-radius: 18px;
  font-size: 14px;
  white-space: nowrap;
  border: 1px solid transparent;
}

.filter-item.active {
  background: #e6f2ff;
  color: #0052D9;
  border-color: #0052D9;
}

/* 其他样式规则... */